﻿using Service;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsRefitTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private async void button1_Click(object sender, EventArgs e)
        {
            //Proxy proxy = new Proxy(typeof(serviceTest), new serviceTest());
            //serviceTest plane = (serviceTest)proxy.GetTransparentProxy();
            serviceTest test = new serviceTest();
            string[] s = await test.GetValues();

            foreach (var sit in s)
            {
                this.textBox1.Text += sit;
            }
        }
    }
}
